﻿<!DOCTYPE html>
<!-- 改造成为thymeleaf动态网页-->
<html xmlns:th="http://www.thymeleaf.org">
	<head>
		<meta charset="utf-8">
		<title>用户登录</title>
		<link rel="stylesheet" type="text/css" href="/css/common.css"/>
		<link rel="stylesheet" type="text/css" href="/css/login.css"/>
	</head>
	<body>
		<header class="main">
			<!--http://localhost:5080/images-->
			<img src="/images/logo.png" >
		</header>
		<div  class="middle main clearF">
			<div class="left"></div>
			<div class="right">
				<!--表单的提交方式一律使用post-->
				<form class="login_frm" action="dolog" method="post">
					<h4>用户登录</h4>
					<p th:text="${error}" style="color: red;text-align: center"></p>
					<input type="text" name="username" id="username" placeholder="请输入用户名"  required="required"/>
				    <input type="password" name="password" id="password" required="required" placeholder="请输入密码" />
				    <input type="submit" value="登录" class="login_btn"/>
					<div class="hqy">
						<a href="goreg" class="register">去注册</a>
						<a href="#" class="noremember">忘记登录密码?</a>
					</div>
				</form>
			</div>
		</div>
	</body>
	<script src="/js/jqmin.js" type="text/javascript">
	</script>
	<script src="/js/login.js" type="text/javascript">
	</script>
</html>
